package com.frejoys.common.dto.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AdminAddUserCashDto {
    @Schema(type = "String", name = "wxImg", description = "微信收款码", required = true, defaultValue = "xxx.npg")
    private String wxImg;

    @Schema(type = "String", name = "username", description = "用户姓名", required = true, defaultValue = "小强")
    private String username;

    @Schema(type = "String", name = "account", description = "用户账号", required = true, defaultValue = "115")
    private String account;

    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "type", description = "类型：1微信收款图，2支付宝账号", required = true, defaultValue = "1")
    private Integer type;

    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "phone", description = "电话号", required = true, defaultValue = "12222")
    private String phone;
}
